# Maintainer: Bruno Pagani <archange@archlinux.org>

pkgname=acsccid
pkgver=1.1.10
pkgrel=1
pkgdesc="PC/SC driver that supports ACS CCID smart card readers."
arch=(loong64 x86_64)
url="http://acsccid.sourceforge.net/"
license=(LGPL2.1)
depends=(pcsclite libusb)
source=(https://downloads.sourceforge.net/acsccid/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('5ee112febdcac6656629025f3a85923f155f6ca150b2d24fd716f9043265528e')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}
